<div class="main">
	<div class="main_top">
		<ul class="pagenavi">
			<li><a href="/">首页</a></li>
			<li class="li2"><a href="/tech/index.html">技术分享首页</a></li>
			<li class="li2">文章内容</li>
		</ul>
	</div>
	<div class="main_left">
		<p class="techtit">{{$row.title}}</p>
		<h2>作者：{{$row.authorName}}&nbsp;&nbsp;&nbsp;{{$row.mTime}}&nbsp;&nbsp;&nbsp;</h2>
		<div class="content">
			{{$row.content}}
		</div>
		<div class="share clear">
			<div class="up_down">
				<a class="up" name="vote" href="javascript:void(0);" rel="{{$row.id}}">
				顶一下(<span id="Percent1">{{$row.upNum}}</span>)</a>
				<a class="down" name="vote" href="javascript:void(0);" rel="{{$row.id}}">
				踩一下(<span id="Percent2">{{$row.downNum}}</span>)</a>
			</div>
			<div class="share_img">
				<a class="icon1" href="#comment">我要评论</a>
				<a class="icon2" href="javascript:void(0);">我要投稿</a>
			</div>
		</div>
		<div class="nextpage">
			<div class="pagecon">
				<span class="tit" style="text-align:right;">{{$preTech}}</span>
				<span><img id="pretech" width="69" height="19" border="0" align="absmiddle" src="http://img.duote.com/images/shang.gif"></span>
				<span><img id="nexttech" width="69" height="19" border="0" align="absmiddle" src="http://img.duote.com/images/xia.gif"></span>
				<span class="tit" style="text-align:left;">{{$nextTech}}</span>
			</div>
		</div>
		<div class="comment" id="comment">
			<h2>我来说两句</h2>
			{{foreach from=$commentRows key=key item=item name="com"}}
			<dl class="commentlist {{if $smarty.foreach.com.last}}end{{/if}}">	
				<dd><img src="/images/quote_1.gif">{{$item.comment}}<img src="/images/quote_2.gif"></dd>
				<dt><span>{{$item.user_name}}</span>{{$item.create_time}}发表</dt>
			</dl>
			{{/foreach}}
			<form method="post" action="/techcomment.php" onsubmit="return Comment.check();">
			<input type="hidden" name="techId" value="{{$row.id}}">
			<div class="addcom">
				<textarea name="comment">谈谈您对这篇文章的看法吧···</textarea>
				<div class="comb">
					<span class="tijiao"><input type="image" src="/images/tijiao.gif"></span>
					<span class="tips">温馨提示：您的评论在5～200字之内</span>
				</div>
			</div>
			</form>
		</div>
	</div>
	<div class="main_right">
		<div class="bang">
			<div class="tit">
				<ul class="list_tag">
					<li class="hover">热门文章</li>
				</ul>
			</div>
			<div class="paihang">
				<ul class="new_rank">
					{{foreach from=$rmRows key=key item=item}}
					<li>·<a title="{{$item.title}}" href="/tech/{{$item.id}}.html" target="_blank" >{{$item.title}}</a></li>
					{{/foreach}}
				</ul>
			</div>       
		</div>
		<div class="bang">
			<div class="tit">
				<ul class="list_tag">
					<li class="hover">相关文章</li>
				</ul>
			</div>
			<div class="paihang">
				<ul class="new_rank">
					{{foreach from=$xgRows key=key item=item}}
					<li>·<a title="{{$item.title}}" href="/tech/{{$item.id}}.html" target="_blank" >{{$item.title}}</a></li>
					{{/foreach}}
				</ul>
			</div>       
		</div>
		<div class="bang">
			<div class="tit">
				<ul class="list_tag">
					<li class="hover">最新文章</li>
				</ul>
			</div>
			<div class="paihang">
				<ul class="new_rank">
					{{foreach from=$zxRows key=key item=item}}
					<li>·<a title="{{$item.title}}" href="/tech/{{$item.id}}.html" target="_blank" >{{$item.title}}</a></li>
					{{/foreach}}
				</ul>
			</div>       
		</div>
	</div>
</div>
<script type="text/javascript" src="/script/jquery.js"></script>
<script type="text/javascript" src="/script/common.js"></script>
<script type="text/javascript" src="/script/ZeroClipboard.js"></script>
<script type="text/javascript" src="/script/statistic.js"></script>
<script type="text/javascript" src="/script/tech.js"></script>
<script>
Comm.init();
Comment.init();
</script>